﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace _015
{
    public class Student
    {
        public Student()
        {
            Console.WriteLine("类中的构造函数");
        }
        ~Student()
        {
            Console.WriteLine("类中的析构函数");
        }
    }
    class Demo
    {
         static void Main(string[] args)
        {
            Student stu1 = new Student();
            Student stu2 = new Student();
            Console.ReadKey();
        }
    }
}
